package com.lantosec.hmrp.modules.supplier.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lantosec.hmrp.modules.supplier.entity.SupplierAccessory;
import com.lantosec.hmrp.modules.supplier.vo.SupplierAccessoryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 供应商附件信息 Mapper 接口
 * </p>
 *
 * @author AutoCode
 * @since 2020-02-20
 */
public interface SupplierAccessoryMapper extends BaseMapper<SupplierAccessory> {

    /**
     * 查询附件信息
     * @param accessoryType
     * @return
     */
    public List<SupplierAccessoryVO> querySupplierAccessory(@Param("supplierCode") String supplierCode,
                                                            @Param("accessoryType") String accessoryType);

    /**
     * 查询附件信息以及附件存储路径
     * @param supplierCode
     * @return
     */
    public List<SupplierAccessoryVO> querySupplierAccessoryPath(@Param("supplierCode") String supplierCode);
}
